|
Enable Disable Task Action |
Declaration |
<AMENABLETASK MANAGEDTASK="text" ENABLE="yes/no" PASSWORD="text"> |
See Also |
Use this action to enable or disable a managed task.
Often used to cause either the current task, or other task(s) not to execute while the current task is executing. To do this, Disable Task could be used at the start of the task and Enable task could be placed at the end.
Specifies the name of the managed task affect. The task must exist in
the current machine task list at runtime or the step will fail.
NOTE: changing the task name or parent folder name later can break this
linkage once created.
If the task had been protected from edits, specifies the password to access the task properties.
Standard Error Handling Options
This action also includes the standard "Error Causes" and "On
Error" failure handling options/tabs
More on Error Handling Options
Variables and Expressions
All text fields allow the use of expressions by surrounding the expression
in percentage signs (example: %MYVARIABLE%, %Left('Text',2)%). To help
construct these expressions, a popup expression builder is available in
all these fields by pressing F2.
More on variables...
More on expressions...
More on the expression builder...
<AMENABLETASK MANAGEDTASK="Sample Tasks\change default printer">